package com.okwanshiwu.service.impls;

import com.okwanshiwu.dao.AppUserDao;
import com.okwanshiwu.pojo.User;
import com.okwanshiwu.service.interfaces.AppUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.io.Serializable;

/**
 * 用户信息相关服务类
 * @author
 * @create 2017-07-26 9:27
 **/
@Service("appUserService")
public class AppUserServiceImpl implements AppUserService{

	@Autowired
	private AppUserDao appUserDao;

	/**
	 * 新用户注册
	 * @return
	 */
	@Override
	public boolean register(){
		User user = appUserDao.checkDeviceState();
		if(user != null){
			System.out.println("nihao");
		}
		return true;
	}
}
